## 被测试页面元素的定位器及操作方法
from selenium.webdriver.common.by import By
from autoTest_ecshop.base_page.base import Base

class LoginPage(Base):
    ## 定位器
    # 用户名定位器
    user_loc = (By.CSS_SELECTOR, '[name="username"]')
    # 密码定位器
    passwd_loc = (By.CSS_SELECTOR, '[name="password"]')
    # 登录按钮定位器
    loginBtn_loc = (By.CSS_SELECTOR, '[name="submit"]')






























